<?php 

$prev_uri = $_SESSION['prev_uri']; // URI of previous page

?>

<html>
<head>
	<link rel="stylesheet" type="text/css" href="../main.css">
</head>
<body>
	<div class="topbar" >
		<a href="<?php if ($prev_uri) echo $prev_uri; else echo '../'; ?>">Go to site</a>
	</div>
	<div class="admincontent">
		<div class="admintopmenu">
			<?php include("menu.php")?>
		</div>
	</div>
</body>
</html>